x86-64: enable MMCONFIG on AMD Fam10 systems even if the BIOS didn't
authorKeir Fraser <keir@xen.org>
Thu, 4 Nov 2010 16:35:58 +0000 (16:35 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 4 Nov 2010 16:35:58 +0000 (16:35 +0000)
commitc8bb5635dea2d4fa46a2e513e5bca1c646fa622d
tree7e54ac5cf0bfe2e578152a67f82246232efa71b7
parent769bd508c350479fe29824a47d4e8331ee1e260a
x86-64: enable MMCONFIG on AMD Fam10 systems even if the BIOS didn't

Code for this has been in Linux since 2.6.26, and since Xen itself
wants to use the MMCONFIG access method when possible, clone it
(fixing some rather obvious bugs in that code at once).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/x86_64/Makefile
xen/arch/x86/x86_64/mmconf-fam10h.c [new file with mode: 0644]
xen/arch/x86/x86_64/mmconfig-shared.c
xen/arch/x86/x86_64/mmconfig.h
xen/include/asm-x86/amd.h